<template>
  <div id="app">
    <hint v-show="$store.state.hint.isShow"></hint>
    <load v-show="$store.state.loading.isShow"></load>
    <confirm v-if="$store.state.confirm"></confirm>
    <router-view/>
  </div>
</template>

<script>
import Hint from './components/info/hint.vue'
import Load from './components/info/load.vue'
import confirm from './components/info/confirm.vue'
export default {
  components: {
    Hint,Load,confirm
  }
}
</script>

<style>
*{
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html{
  font-size: 16px;
}
body{
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 16px;
}
ul{
  list-style: none;
}
a{
  text-decoration: none;
  color: black;
}
button{
  border: none;
}
.icon{
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
.fade-enter,.fade-leave-to{
  opacity: 0;
  margin-top: -20px;
}
.fade-enter-active,.fade-leave-active{
  transition: all .3s ease;
}
.fade-enter-to,.fade-leave{
  opacity: 1;
  margin-top: 0px;
}


.left_fade-enter,.left_fade-leave-to{
  opacity: 0;
  transform: translateX(-20px);
}
.left_fade-enter-active,.left_fade-leave-active{
  transition: all .3s ease;
}
.left_fade-enter-to,.left_fade-leave{
  opacity: 1;
  transform: translateX(0px);
}


.zoom.enter,.zoom-leave-to{
  opacity: 0;
  transform: scale(0,0);
}
.zoom.enter-active,.zoom-leave-active{
  transform-origin: 50%,50%;
  transition: all .3s ease;
}
.zoom-leave,.zoom-enter-to{
  opacity: 1;
  transform: scale(1,1);
}


.content-enter{
  opacity: 0;
  transform: translateY(-20px);
}
.content-enter-active{
  transition: all .3s;
}
.content-enter-to{
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 1024px) {
  html{
    font-size: 14px;
  }
}
@media screen and (max-width: 768px) {
  html{
    font-size: 12px;
  }
}
@media screen and (max-width: 448px) {
  html{
    font-size: 10px;
  }
}
</style>
